libxl: add sched_get_id function
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Apr 2010 08:38:39 +0000 (09:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Apr 2010 08:38:39 +0000 (09:38 +0100)
commit419794de6896184846b0f2dce5f53f7128b7ea68
tree14546b7d4c9a886ef2ba6a94e338447ddd54d3d8
parent6de99b587a02e71b2d1708ca70e15a91947bf5c1
libxl: add sched_get_id function

To get the name of the currently used scheduler, Xen provides a
sched_id sysctl. Add a libxl wrapper around the libxc function to
query this.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h